﻿using Refit;
using Sample.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sample
{
    public interface IBook
    {
        [Post("/api/BooksController/GetList")]
        Task<List<Book>> GetList(int count);

        [Post("/api/BooksController/GetCount")]
        Task<int> GetCount();

        [Post("/api/BooksController/IsBook")]
        Task<bool> IsBook(Book book);
    }
}
